Luminance conversion of light source color into material color

ABSTRACT

An image processing method whereby when a display of a light source color to display a visible image by a color generation and a display of a material color to display a visible image by depositing a coloring agent onto a material to be recorded are color matched, a luminance component of the material color display is corrected so as to be larger than the luminance component of the light source color display. The correction of the luminance component is executed after converting into color space signals which don&#39;t depend on characteristic of the visible image display apparatus to be used. The luminance component is raised in the conversion from an input signal of the light source color display into an output signal of the material color display and the luminance component is reduced in the conversion from an input signal of the material color display into an output signal of the light source color display.

CROSS-REFERENCES TO RELATED APPLICATIONS

This is a divisional of application Ser. No. 08/724,463, filed on Oct. 1, 1996.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to image processing apparatus and method and recording medium for realizing a color matching between a light source color and a material color.

2. Related Background Art

FIG. 2 shows a prior art of an image signal processing apparatus for performing a signal conversion between a signal of a light source color and a signal of a material color (body color). The light source color is a color of a light which is emitted from a light source. The material color is a color of a material which reflects or transmits the light. In the apparatus, input color signals obtained from an image input unit 201 are corrected by a color correction unit 202 and the correction data is sent to an image output unit 207. A signal conversion is performed by an equipment characteristic conversion circuit 203 by using the signal from the image input unit 201 and an input equipment characteristic read out from an ROM 205. The corrected signals are further converted into output color signals by using an output equipment characteristic read out from an ROM 206.

As mentioned above, in the conventional color correction unit, when the material color and the light source color are matched, no correction is performed with respect to a luminance component of the material color.

However, when the human being recognizes the light source color and the material color as a same color, if each color tag is actually measured by a method according to the JIS, luminance values of both of those colors are fairly different. Therefore, there is a problem such that the light source color and the material color are seen as different colors when the conventional color signal correcting method is merely used for the data conversion between the light source color and the material color.

As a method of color matching even when color modes are different, the applicant of the present invention has proposed, for example, a method of calculating white as a reference of a perception of the human being on the basis of an observation light source and a ratio adapted to a monitor and converting an image on the basis of such calculated white as a reference or the like.

As shown in FIG. 3, a chromaticity value of white serving as such a perception reference is calculated from the observation light source, a chromaticity (for example, CIEx,y chromaticity value) indicative of a color tone of white of the monitor, and an adaptation ratio. On the other hand, as a luminance value, a value calculated by a color matching experiment, a proper value obtained by a simple preparatory experiment, or a value that is equivalent to the luminance obtained by a color measurement is used.

The applicant of the present invention also has already proposed a method whereby when a luminance value of a light source by which a printed matter is seen is very brighter than a display limit luminance of a monitor, an image is displayed on the monitor by using a value lower than the luminance data derived by measuring the printed matter, thereby matching both colors.

Even when the color modes differ, in order to enable both colors to be seen as a matched color, it is necessary for the human being to clarify the relation between both of the color tones and brightness senses of both colors to be matched.

As mentioned above, however, although the relation has been clarified with respect to the chromaticity values, as for the luminance, a value obtained by a color matching experiment is used or the like and the relation about the luminance is not yet clarified. As mentioned above, the value calculated from the color matching experiment can be applied in only a certain limited environment. When the human being wants to observe in an environment different from the environment in which the experiment was performed, parameters have to be obtained by executing color matching experiments or the like, so that there is still room for improvement about a drawback such that a generality extremely lacks.

Further, it is known that when the luminance of the printed matter is very higher than that of the monitor as mentioned in the proposed technique, the color matching can be performed by outputting a value lower than the luminance of the printed matter to the monitor. However, the relation about to which extent the luminance is reduced when the luminance of the printed matter has what degree of value is not yet clarified. Further, when the luminance of the printed matter is lower than the luminance of the monitor, whether such a relation is held or not cannot be known.

As mentioned above, in case of performing a color matching even when the color modes of the light source color and the material color are different, the relation of the luminance when the light source color and the material color are matched is hardly clarified yet.

SUMMARY OF THE INVENTION

It is an object of the invention to highly accurately realize a color matching between a light source color and a material color.

To accomplish the above object, according to the invention, there is provided an image processing method whereby when a display of a light source color to display a visible image by a color generation and a display of a material color to display a visible image by depositing a coloring agent onto a material to be recorded are color matched, a luminance component of the material color display is corrected so as to be larger than the luminance component of the light source color display.

To accomplish the above object, according to the invention, there is also provided an image processing apparatus for matching display colors in both of a display apparatus of a light source color to display a visible image by performing a color generation and a display apparatus of a material color to display a visible image by depositing a coloring agent onto a material to be recorded by using those display apparatuses, wherein the image processing apparatus has correcting means for correcting the luminance component of the display image by the material color display apparatus so as to be larger than the luminance component of the display image by the light source color display apparatus.

Another object of the invention is to provide image processing method and apparatus such that when a color matching between colors of input and output images is performed, on the basis of information regarding a light source in a display apparatus, a deviation of colors to be seen which is caused due to the relation between the light source and the display apparatus is corrected, and in order to correct a deviation of the colors to be seen which is caused due to a difference of the color temperatures between the light sources of the input and output images, such a deviation can be corrected on the basis of information of each light source.

To accomplish the above object, according to the invention, there is provided an image processing apparatus for performing a color matching between colors of input and output images, comprising: first correcting means for correcting a deviation of colors to be seen which is caused due to the relation between a light source and a display apparatus on the basis of information regarding the light source in the display apparatus; and second correcting means for correcting a deviation of colors to be seen which is caused due to a difference of the color temperatures between the light sources of the input and output images on the basis of the information of the light sources.

Still another object of the invention is to provide image processing method and apparatus such that when a color matching between colors of input and output images is performed, a deviation of colors which is caused due to a difference of the modes between a material color and a light source color is corrected, and in order to correct a deviation of colors to be seen which is caused due to a difference of the color temperatures between the light sources of the input and output images, such a deviation can be corrected on the basis of information of the light sources.

To accomplish the above object, according to the invention, there is provided an image processing apparatus for performing a color matching between colors of input and output images, comprising: first correcting means for correcting a deviation of colors which is caused due to a difference of the modes between a material color and a light source color; and second correcting means for correcting a deviation of colors to be seen which is caused due to a difference of the color temperatures between the light sources of the input and output images on the basis of information of the light sources.

Further another object of the invention is to provide a method whereby in order to perform a color matching even when color modes are different, a relation between luminances of both of a material color and a light source color to be color matched by the human being is shown, thereby enabling a color matching to be performed even when the color modes differ.

To accomplish the above object, according to the invention, there is provided an image processing apparatus for performing an image process so as to visually match a light source color with a material color, comprising: input means for inputting image data regarding the material color; and converting means for converting the image data regarding the material color into image data regarding the light source color, wherein the converting means performs a conversion process so as to satisfy a relation shown by a curve which monotonously increases and is convex upward on a coordinates plane in which a luminance of the material color is set to an axis of abscissa and a luminance of the light source color is set to an axis of ordinate.

To accomplish the above object, according to the invention, there is provided an image processing apparatus for performing an image process so as to visually match a material color with a light source color, comprising: input means for inputting image data regarding the light source color; and converting means for converting the image data regarding the light source color into image data regarding the material color, wherein said converting means executes a conversion process so as to satisfy a relation shown by a curve which monotonously increases and is convex upward on a coordinates plane in which a luminance of the material color is set to an axis of abscissa and a luminance of the light source color is set to an axis of ordinate.

To accomplish the above object, according to the invention, there is provided an image processing method for performing an image process so as to visually match a material color and a light source color, comprising the steps of: inputting information regarding an observation light source; calculating a luminance component in perception reference white information on the basis of the information regarding the observation light source; calculating a chromaticity component in the perception reference white information by using a color adaptation ratio according to the information regarding the observation light source; and performing a color adaptation conversion process to image data on the basis of the calculated perception reference white information.

The above and other objects and features of the present invention will become apparent from the following detailed description and the appended claims with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an embodiment of the invention;

FIG. 2 is a diagram shown by paying attention to a color correction of a conventional image input/output apparatus;

FIG. 3 is a diagram showing an embodiment 1 of the invention;

FIG. 4 is a diagram showing a method of obtaining printer characteristic values;

FIG. 5 is a diagram showing the embodiment 2 of the invention;

FIG. 6 is a diagram showing an outline of a system in the embodiment 1;

FIG. 7 is a diagram showing the relation between luminances of a material color and a light source color when they are matched;

FIG. 8 is a diagram showing the relation of chromaticities when calculating perception reference white;

FIG. 9 is a diagram showing a flow of data in the embodiment 1;

FIG. 10 is a diagram showing in detail an image conversion process;

FIG. 11 is a diagram showing in detail a perception reference white calculation process; and

FIG. 12 is a diagram showing experiment conditions of a luminance contrast sensitivity.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[Embodiment 1]

FIG. 1 shows an embodiment of the invention. According to the embodiment shown in the diagram, in order to enable a material (body) color and a light source color to be seen as a matched color, there is used a color correction unit 2 for performing a correction to raise a luminance in a conversion from an input signal of a display of the light source color into an output signal of a display of the material color and to reduce a luminance in a conversion from the input signal of the material color display into the output signal of the light source color display.

Namely, the input color signals obtained from an image input unit 1 are converted into color signals including a luminance component by the color correction unit 2, a correction of the luminance component as a feature of the invention is performed, and the color signals are finally converted into output color signals necessary in an image output unit 8.

One of the image input unit 1 and image output unit 8 displays the light source color and the other displays the material color. For example, it is now assumed that a combination such that a color monitor is used as a light source color display apparatus and a color printer is used as a material color display apparatus is used. As input color signals or output color signals, RGB signals are used in the color monitor and CMY signals are used in the color printer (such signals are peculiar to input/output equipment). As arbitrary color signals including the luminance component are, for example, XYZ·L*a*b*·xyY·u′v′Y.

It is now assumed that the image input unit 1 in FIG. 1 is a color monitor 301 to display the light source color and the image output unit 8 is a color printer 314 to display the material color. An example in which the material color that is formed by the color printer 314 is matched with the light source color that is displayed by the color monitor 301 will now be described as an embodiment 1 with reference to FIG. 3. It is now assumed that the XYZ system [three stimulus (tristimulus) values] is used as a system of the color signals including the luminance component.

In FIG. 3, monitor characteristic has been stored in an ROM 304. The monitor characteristic shows the relation between RGB data from the color monitor 301 and XYZ obtained by measuring a color of an image on the color monitor displayed by the RGB signals. As such a relation, there are two kinds of relations. The relation between XYZ and a luminance of a fluorescent material (body) has a form of matrix which is expressed by the following equation (1). The relation between the luminance of the fluorescent material and RGB as signals of the monitor has a form of a function called a γ (gamma) function. A method of obtaining the monitor characteristic will now be described. First, the relation between XYZ and the luminance of the fluorescent material is as shown by the equation (1). Each color tag when pure colors of RGB are displayed on the color monitor is measured by using a color measurement unit. Three stimulus values obtained are respectively substituted into the following equations (2), (3), and (4), a matrix is obtained. The other γ function is obtained by measuring the luminance of the fluorescent material for the RGB values as a monitor signal and has a form as shown by the following equation (5). When measuring the luminance of the fluorescent material, a state of dark black is desirable to raise the reliability of data. $\begin{matrix} {\begin{pmatrix} L_{r} \\ L_{g} \\ L_{b} \end{pmatrix} = {\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{12} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix}\begin{pmatrix} X \\ Y \\ Z \end{pmatrix}}} & (1) \end{matrix}$

 a ₁₁=Δ₁₁/(Δ₁₁ X _(ω)−Δ₂₁ Y _(ω)+Δ₃₁ Z _(ω))

a ₁₂=Δ₂₁/(Δ₁₁ X _(ω)−Δ₂₁ Y _(ω)+Δ₃₁ Z _(ω))

a ₁₃=Δ₃₁/(Δ₁₁ X _(ω)−Δ₂₁ Y _(ω)+Δ₃₁ Z _(ω))

a ₂₁=Δ₁₂/(Δ₁₂ X _(ω)−Δ₂₂ Y _(ω)+Δ₃₂ Z _(ω))

 a ₂₂=Δ₂₂/(Δ₁₂ X _(ω)−Δ₂₂ Y _(ω)+Δ₃₂ Z _(ω))

a ₂₃=Δ₃₂/(Δ₁₂ X _(ω)−Δ₂₂ Y _(ω)+Δ₃₂ Z _(ω))

a ₃₁=Δ₁₃/(Δ₁₃ X _(ω)−Δ₂₃ Y _(ω)+Δ₃₃ Z _(ω))

a ₃₂=Δ₂₃/(Δ₁₃ X _(ω)−Δ₂₃ Y _(ω)+Δ₃₃ Z _(ω))

a ₃₃=Δ₃₃/(Δ₁₃ X _(ω)−Δ₂₃ Y _(ω)+Δ₃₃ Z _(ω))  (2)

X _(ω) =X _(r) +X _(g) +X _(b)

Y _(ω) =Y _(r) +Y _(g) +Y _(b)

Z _(ω) =Z _(r) +Z _(g) +Z _(b)  (3)

Stimulus sum=X _(ω) +Y _(ω) +Z _(ω)

where,

X_(r), Y_(r), Z_(r): three stimulus values XYZ of a fluorescent material R

X_(g), Y_(g), Z_(g): three stimulus values XYZ of a fluorescent material G

X_(b), Y_(b), Z_(b): three stimulus values XYZ of a fluorescent material B

Δ_(ij)=small matrix of i-row and j-column of Δ $\begin{matrix} {\Delta = {\begin{matrix} x_{r} & x_{g} & x_{b} \\ y_{r} & y_{g} & y_{b} \\ z_{r} & z_{g} & z_{b} \end{matrix}}} & (4) \end{matrix}$

where,

x_(r), y_(r), z_(r): values obtained by dividing X_(r), Y_(r), and Z_(r) by the stimulus sum

x_(g), y_(g), z_(g): values obtained by dividing X_(g), Y_(g), and Z_(g) by the stimulus sum

x_(b), y_(b), z_(b): values obtained by dividing X_(b), Y_(b), and Z_(b) by the stimulus sum

L _(r) =f(R)

L _(g) =f(G)  (5)

L _(b) =f(B)

In an equipment characteristic conversion circuit 303, by performing a conversion [the following equations (6) and (7)] opposite to that of the equations (5) and (1) to the input signals RGB from the color monitor 301 by using the matrix and the γ function stored in the monitor characteristic ROM 304, thereby converting into color signals x₀y₀z₀ including a luminance component.

L _(r) =f(R)

L _(g) =f(G)  (6)

L _(b) =f(B)

$\begin{matrix} {\begin{pmatrix} X_{o} \\ Y_{o} \\ Z_{o} \end{pmatrix} = {\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{12} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix}^{- 1}\begin{pmatrix} L_{r} \\ L_{g} \\ L_{b} \end{pmatrix}}} & (7) \end{matrix}$

The luminance component needs to be converted in order to enable the colors of the color monitor 301 and color printer 314 to be seen as a matched color. For this purpose, a luminance conversion circuit 305 performs a luminance conversion in order to compensate a deviation of colors to be seen which is caused due to a difference of the modes between the light source color and the material color. The luminance component conversion from signals X₀Y₀Z₀ of the color monitor 301 as a light source color display apparatus into signals X₁Y₁Z₁ of the color printer 314 as a material color display apparatus is a conversion to raise the luminance component. A case of using the following equations (8) as a correcting method will now be described. In the equations (8), (a) denotes a numeral which satisfies the relation (a >1.0) and, preferably, the value of (a) lies within a range from 3 to 5.

The value of (a) can be preset or can be also manually set by the user.

X ₁ =aX ₀(a>1.0)

Y ₁ =aY ₀(a>1.0)  (8)

Z ₁ =aZ ₀(a>1.0)

The information of an external light received by the color monitor 301 as input equipment has been stored in an input image light source information ROM 307 as chromaticity values (xyY values and XYZ values). Similarly, the information of an external light received by the color printer 314 as an output equipment has been stored in an output image light source information ROM 309 as chromaticity values (xyY values and XYZ values). As such information, chromaticity values other than xyY·XYZ or spectral data can be used. When the position where the input/output equipment exists differs from that of the light source by which the actual image is observed, the observation light source information of the input image and the observation light source information of the output image can be also replaced.

Observing conditions of the input/output images whose colors were measured by using a sensor or the like can be also inputted.

An adding circuit 306 of the input image light source information performs a correction in consideration of an influence by the input image light source as a correction that is peculiar to the display image.

Namely, a correction such as a surface reflection or the like from the display screen of the monitor 301 for the input image light source, namely, a correction based on the relation between the input image light source and the light emission from the monitor is executed.

Three stimulus values X_(K1)Y_(K1)Z_(K1) as correction amounts have previously been stored in the ROM 307 on the basis of experiments in correspondence to the relation between the input image light source and the monitor.

By substituting the three stimulus values X_(K1)Y_(K1)Z_(K1) stored in the input image light source information ROM 307 into the following equations (9), X₁Y₁Z₁ are corrected.

X ₂ =X ₁ +X _(K1)

Y ₂ =Y ₁ +Y _(K1)  (9)

Z ₂ =Z ₁ +Z _(K1)

In order to enable the color of the image of the color monitor 301 and the color of the image outputted by the color printer 314 to be seen as a matched color, a conversion circuit 308 by the light source information performs a correction in consideration of the light source information (stored in the ROM 307) of the input image and the light source information (stored in the ROM 309) of the output image. In such a correction, X₂Y₂Z₂ are converted into X₃Y₃Z₃ by using the following correcting equation (11) using a color adaptation equation (10) of Von Kries. A correction is performed so as to compensate the difference of observation colors which is caused due to a difference of the color temperatures of the light sources by using the chromaticity value of the light source of the input image stored as light source information, the chromaticity value of the light source of the output image, and the chromaticity value of the light source obtained by measuring the color tag at the time of the calculation of the printer characteristic.

Matrix of the equation of Von Kries $\begin{matrix} \begin{pmatrix} {mg} & {2.953\left( {{mr} - {mg}} \right)} & {0.220\left( {{mb} - {mg}} \right)} \\ 0 & {mr} & 0 \\ 0 & - & {mb} \end{pmatrix} & (10) \end{matrix}$

where,

mr: 1

mg: (1.220x₂−2.733y₂−2.220)y₁/(1.220x₁−2.773y₁−0.220)/y₂

mb: (1−x₂−y_(2y1))/(1−x₁−y₂)/y₂

x₁, y₁: chromaticity value by the light source 1

x₂, y₂: chromaticity value by the light source 2 $\begin{matrix} {\begin{pmatrix} X_{3} \\ Y_{3} \\ Z_{3} \end{pmatrix} = {\begin{pmatrix} \quad \\ {M2} \\ \quad \end{pmatrix}\begin{pmatrix} \quad \\ {M1} \\ \quad \end{pmatrix}\begin{pmatrix} X_{2} \\ Y_{2} \\ Z_{2} \end{pmatrix}}} & (11) \end{matrix}$

A matrix M1 of the equation (11) is obtained by substituting the chromaticity values (xy values) stored in the input/output light source information into the equation (10) by using the light source 1 as an observation light source of the input image and by using the light source 2 as an observation light source of the output image.

A matrix M2 is obtained by substituting the chromaticity values (xy values) stored in the input/output light source information ROM into the expression (10) by using the light source 1 as an observation light source of the output image and by using the light source 2 as a light source (for example, C light source) obtained by measuring the color tag at the time of the calculation of the printer characteristic.

By correcting as mentioned above, the correction can be performed in accordance with the color temperature of the observation light source. Even when the color temperatures of the light sources of the input image and output image are different, the colors of the images can be matched.

Even when performing a printer output to a paper, there is a case where the colors of papers and the absorption amounts of inks differ. Therefore, a correcting equation to make the most of the characteristic is stored in an output information ROM 311 and a correction is executed in a conversion circuit 310 by the output information. For example, although the correction is not performed in case of a normal paper, in case of a coating paper, the correction is executed in accordance with a correcting equation stored in the output information.

The printer characteristic has been stored in an ROM 313. The printer characteristic shows the relation between the CMY data that is inputted to the color printer 314 and the XYZ when the color tag printed is measured by the input data. The relation between CMY and XYZ has been stored as an LUT.

A method of obtaining the printer characteristic will now be described with reference to FIG. 4. Certain CMY data 401 is inputted to the printer and a certain color tag is printed. Such a color tag 402 is measured by using a color measurement unit under a standard light source (for example, C light source), thereby obtaining XYZ values 404. The XYZ values here don't correspond to a reflectance which is obtained by using a standard white plate but shows absolute values obtained as color measurement values and use the luminance as a unit. As mentioned above, N³ sets of relations between the CMY data and the XYZ values are obtained as a form of LUT. An LUT interpolation or the like can be also used as a relation between the CMY and the XYZ.

Returning again to FIG. 3, an equipment characteristic conversion circuit 312 converts the color signals XYZ obtained by correcting the luminance component into the printer output signals CMY by using the LUT in which the printer characteristic has been stored.

As mentioned above, the deviation of colors to be seen which is caused due to the difference of the modes between the light source color and the material color can be compensated by the luminance conversion circuit 305.

Therefore, the color matching between output apparatuses such as monitor and printer having different modes can be performed.

The compensation for an influence by the input/output image light sources can be performed by the addition (306) of the input light source information and the conversion (308) by the light source information. Namely, by performing the correction of the surface reflection or the like that is peculiar to the display image and the correction for the difference of the color temperatures, the color matching can be executed irrespective of the input/output image light sources.

Further, since the correction which is peculiar to the image forming apparatus for forming an image onto a recording medium and is based on the characteristics of the recording medium is executed by the conversion (310) by the output information, the color matching can be performed irrespective of the recording medium.

[Embodiment 2]

A case of converting the data of the material color into the data of the light source color as shown in FIG. 5 will now be described as a conversion opposite to that shown in the embodiment 1. Namely, the embodiment 2 relates to the case of previewing a print image onto a color monitor 513 on the basis of a signal which is sent to a color printer 501. In other words, a case where the color printer 501 to output the material color is used as an image input unit and the color monitor 513 to display the light source color is used as an image output unit will now be described with reference to FIG. 5.

When the image is previewed on the color monitor 513 on the basis of the signal of the color printer 501, the input signal values from the color printer 501 are corrected by a color correction unit 502. Resultant correction values become input signal values of the color monitor 513. The color correction unit 502 will now be described in detail.

The printer characteristic stored in an ROM 505 is obtained by a method similar to that in the embodiment 1. That is, the relation between the CMY data which is inputted to the color printer 501 and the XYZ when the color tag printed by the input data is measured has been stored as an LUT.

An equipment characteristic conversion circuit 503 converts the signals CMY from the color printer 501 into the color signals X₀Y₀Z₀ including the luminance component by using the matrix stored as such printer characteristic.

When the printer output is performed onto a paper, since there is a case where the colors of papers, absorption amounts of inks, and the like differ depending on the kinds of them, a correcting equation to make the most of such characteristic has been stored in an output information ROM 506. A conversion circuit 504 by the output information executes a conversion opposite to that in case of the embodiment 1 and converts the signals into the color signals X₁Y₁Z₁ which don't include the correction by the output information.

It is necessary to convert the luminance component in order to reconstruct the image that is outputted by the color printer 501 on the color monitor 513 at a high fidelity and to enable both colors to be seen as a matched color. A luminance conversion circuit 507, therefore, performs a conversion so as to reduce the luminance component in case of converting into the signals X₂Y₂Z₂ of the color monitor 513 as a light source color display apparatus on the basis of the signals X₁Y₁Z₁ of the color printer 501 as a material color display apparatus. As a correcting method here, a case of using the following equations (12) as a conversion opposite to that of the equations (8) will now be described.

X ₂=1/a×X ₁(a>1.0)

Y ₂=1/a×Y ₁(a>1.0)

Z ₂=1/a×Z ₁(a>1.0)  (12)

The information of the external light received by the color printer as an input equipment has been stored as chromaticity values (xyY values) in an input image light source information ROM 510. Similarly, the information of the external light received by the color monitor as an output equipment has been stored as XYZ values in an output image light source information ROM 511.

To enable the image by the color printer 501 and the image displayed on the color monitor 513 which were observed under different light sources to be seen as a same color, a correction is performed in consideration of the light source information (stored in the ROM 510) of the input image and the light source information (stored in the ROM 511) of the output image in a conversion circuit 508 by the light source information. The chromaticity value of the light source of the input image and the chromaticity value of the light source of the output image which were stored as light source information and the chromaticity value of the light source obtained by measuring the color tag at the time of the calculation of the printer characteristic are used and are substituted into the expression (10) and equation (11) similar to those in the embodiment 1, so that the correction can be performed.

The matrix M1 of the equation (11) is obtained by substituting the chromaticity values (xy values) stored in the input/output light source information into the expression (10) by using the light source 1 as a light source obtained by measuring the color tag at the time of the calculation of the printer characteristic and by using the light source 2 as an observation light source of the input image.

The matrix M2 is obtained by substituting the chromaticity values (xy values) stored in the input/output light source information ROM into the expression (10) by using the light source 1 as an observation light source of the input image and by using the light source 2 as an observation light source of the output image.

By performing the correction as mentioned above, the correction according to the observation light source can be performed. Even if the light sources of the input and output images differ, the colors of the images can be matched.

Monitor characteristic stored in the ROM 512 is obtained by a method similar to that in the embodiment 1. Namely, the monitor characteristic shows the relation between the RGB data from the color monitor 513 and XYZ obtained by measuring the color of the image on the monitor displayed by the signal. Such a relation has a form of a matrix and a gamma (γ) function.

An equipment characteristic conversion circuit 509 performs a conversion using the matrix and γ function stored in the monitor characteristic ROM 512, thereby converting from the XYZ values corrected as mentioned above into the output color signals RGB of the color monitor 513.

Although the correcting equations using proportional constants have been used for the luminance correction in each of the above embodiments, as other cases, there are a case of being proportional to the square, a case of applying an offset, a case of a γ function, a case of correcting by using the difference, and the like. In any case, it is sufficient to correct so that the luminance of the material color is higher than the luminance of the light source color.

According to the embodiments 1 and 2 as described above, even when the observation environment of the light source color and material color is any environment, by correcting the luminance component, both of the colors can be matched.

Namely, the image processing method and apparatus which can properly correct when performing the signal conversion between the material color and the light source color can be obtained.

The image processing method and apparatus which can perform a constant color correction irrespective of the display characteristic of the display apparatus to be used can be obtained.

Further, the image processing method and apparatus which can obtain the specific and proper correction form can be obtained even in not only the conversion from the light source color display into the material color display but also the conversion from the material color display into the light source color display.

The color matching of the input and output images can be performed at a high precision.

[Embodiment 3]

In the embodiment 3, an image process for clarifying the relation when performing a perception color matching between the material color and the light source color and for realizing a color matching between the light source color and the material color on the basis of the above relation will now be described in detail.

First, to calculate the relation of the luminances when the perception color matching between the material color and the light source color was performed, the luminance of the printed matter is set to a constant value to thereby change the luminance of the monitor and whether the eye observation color matching can be performed under each condition or not was examined. Further, by changing the luminance of the observation light source, the luminance of the printed matter is also changed, thereby obtaining the relation between the luminance of the printed matter and the luminance of the monitor to be color matched. It has consequently been found that such a relation can be seen by a curve which monotonously increases and becomes convex upward on the coordinates plane in which the luminance of the material color is set to an axis of abscissa and the luminance of the light source color is set to an axis of ordinate as shown in FIG. 7.

Although the coordinates of the graph shown in FIG. 7 are changed due to the observation light source or the like, the shape of graph is not changed in any case.

By calculating both of the luminances so as to satisfy the above relation, therefore, the material color and the light source color can be matched.

Even when assembling into the system, by using the present method at the time of the calculation of the luminance of the perception reference white serving as a perception reference in case of observing the light source color that is necessary for the adaptation conversion and by converting the image on the basis of the perception reference white calculated as mentioned above, the luminances of the whole image of the material color and light source color can be converted so as to satisfy the relation of FIG. 7. Therefore, even for the images of different color modes, both of the colors can be visually matched.

An example of the system to which the present method is applied will now be described hereinbelow.

An image input/output system having a previewer function in which a printed matter is read by a scanner or the like and is displayed to a monitor and the displayed image and the printed matter can be compared at that location will now be described as an example. The invention is not limited to the embodiments but can be also obviously applied to every case of performing a conversion of the light source color and the material color. In the embodiment, a process in case of observing the printed matter under the same light source as the light source in which the monitor is installed is shown.

FIG. 6 shows an outline of the system of the embodiment. The system is constructed by a scanner 600, a host 601, and a monitor 602.

The scanner 600 is a full color scanner which is generally used in a color copying apparatus. By reading an image of an original put on an original supporting base plate, for example, RGB signals are obtained.

In the host 601, image processes such as an image conversion process and the like according to observation light source information, which will be explained hereinlater are executed by a CPU on the basis of programs stored on a hard disk in the host and the processing result is outputted to the monitor 602.

The monitor 602 displays a preview image corresponding to the original image on the basis of the image data from the host.

A flow of the processes which are executed by the CPU of the host 601 will now be described hereinbelow with reference to FIG. 9.

RGB image data (R₁G₁B₁) derived by the scanner 600 is converted into X₁Y₁Z₁ by an RGB→XYZ conversion process 700 on the basis of a scanner profile in which scanner color characteristic has been stored. X₁Y₁Z₁ is obtained by using D65, which is a standard light source in the scanner, as a reference.

In an image conversion process 701, to form an image also in consideration of a difference of the observation light sources of the input and output images and a difference of the color modes, an image conversion using the print image, observation light source information 703 of the monitor, and characteristic of the monitor to display and observe the image is executed, thereby converting into X₂Y₂Z₂.

The image conversion process 701 will now be described in detail with reference to FIG. 10. A light source conversion process 720 for converting the image in accordance with the observation light source and a color mode conversion process 710 for converting in accordance with a mode of an image are included in the image conversion process 701 shown in FIG. 10.

In the light source conversion process 720, the image is converted into an image according to the observation light source. The X₁Y₁Z₁ data obtained by converting from the scanner data R₁G₁B₁ by using the standard light source (D65) as a reference is color adaptation converted into color signals X₂Y₂Z₂ according to the light source to actually observe the image by using the following equation (13)

The equation is a color adaptation conversion equation of Von Kries.

The equations (13) are color sequential conversion system of Von Kries.

(13) The color sequential equation of Von Kries. $\begin{pmatrix} X_{2} \\ Y_{2} \\ Z_{2} \end{pmatrix} = {\begin{pmatrix} \quad \\ M \\ \quad \end{pmatrix}^{- 1}\begin{pmatrix} \quad \\ D \\ \quad \end{pmatrix}\begin{pmatrix} \quad \\ M \\ \quad \end{pmatrix}\begin{pmatrix} X_{1} \\ Y_{1} \\ Z_{1} \end{pmatrix}}$

where, $\begin{pmatrix} \quad \\ D \\ \quad \end{pmatrix} = \begin{pmatrix} {{Lw2}/{Lw1}} & 0 & 0 \\ 0 & {{Mw2}/{Mw1}} & 0 \\ 0 & 0 & {{Sw2}/{Sw1}} \end{pmatrix}$ $\begin{pmatrix} \quad \\ M \\ \quad \end{pmatrix} = \begin{pmatrix} 0.071 & 0.945 & {- 0.016} \\ {- 0.461} & 1.360 & 0.101 \\ 0 & 0 & 1.0 \end{pmatrix}$ ${\begin{pmatrix} L_{w1} \\ M_{w1} \\ S_{w1} \end{pmatrix} = {\begin{pmatrix} \quad \\ M \\ \quad \end{pmatrix}\begin{pmatrix} X_{w1} \\ Y_{w1} \\ Z_{w1} \end{pmatrix}}},\quad {\begin{pmatrix} L_{w2} \\ M_{w2} \\ S_{w2} \end{pmatrix} = {\begin{pmatrix} \quad \\ M \\ \quad \end{pmatrix}\begin{pmatrix} X_{w2} \\ Y_{w2} \\ Z_{w2} \end{pmatrix}}}$

L_(w1), M_(w1), S_(w1): response amounts at the conical body level of the eyes for X_(w1), Y_(w1), Z_(w1)

X_(w1), Y_(w1), Z_(w1): three stimulus values of an examination light

L_(w2), M_(w2), S_(w2): response amounts at the conical body level of the eyes for X_(w2), Y_(w2), Z_(w2)

X_(w2), Y_(w2), Z_(w2): three stimulus values of a reference light

Specifically speaking, white points (X_(d65)Y_(d65)Z_(d65)) of the standard light source (D65) at the time of the formation of the scanner profile which have been stored in a scanner profile 704 are set to three stimulus values of the examination light, the observation light source information (X_(wk)Y_(wk)Z_(wk)) 703 is substituted into the equation (13) as three stimulus values of the reference light, thereby converting into the data X₂Y₂Z₂ according to the observation light source. As observation light source information 703, any ones of the values measured by using an external sensor or the like and the values selected or inputted by the user can be used.

In the color mode conversion process 710, the XYZ data (X₂Y₂Z₂) converted in accordance with the observation light source is subjected to the color mode conversion between the material color and the light source color so that the display image as a light source color and the original image as a material color can be seen as color matched images.

A perception reference white calculation process 711 and an adaptation conversion process 712 using the calculated data are included in the color mode conversion process 710 as shown in FIG. 5.

It is known that the human being looks at the color of an image while using certain white as a reference and, when seeing a printed matter, the human being is adapted to white of the light source which is observed and, when seeing the monitor, the human being is adapted to both of white of the monitor observation light source and a white point of the monitor at a certain ratio.

White serving as a reference when seeing the color on the monitor assumes a perception reference white.

When comparing the printed matter put under a certain light source with the display image, first, a perception reference white point of the monitor is calculated and the display image is formed on the basis of white data indicative of the perception reference white point.

In the embodiment, since it is assumed that the printed matter and the monitor are observed under the same light source, the observation light source information of the printed matter and the observation light source information of the monitor are equal and they are set to the observation light source information in the diagrams.

In the perception reference white calculation process 711, perception reference white is formed by using the monitor white point information stored in a monitor profile 705 and the observation light source information 703. By using the perception reference and observation light source information, a color adaptation conversion process using the equation (13) is executed.

As shown in detail in FIG. 11, the perception reference white is calculated separately with respect to the chromaticity and the luminance.

First, monitor white point information (X_(wm)Y_(wm)Z_(wm)) stored in the monitor profile 705 and the three stimulus values of the observation light source information (X_(wk)Y_(wk)Z_(wk)) 703 obtained from the sensor or the like are converted into the chromaticity (xy) and luminance (Y) by an XYZ to xyY conversion process 800. The chromaticity is substituted into a chromaticity value calculation process 801 and the luminance is substituted into a luminance calculation process 802, thereby calculating a chromaticity (x_(w)y_(w)) and a luminance (Y_(w)) of perception reference white, respectively.

As disclosed in Japanese Patent Application No. 7-258631, now assuming that a ratio adapted to white of the monitor is set to s and a ratio adapted to the observation light source is set to 1-s and chromaticity values of the observation light source are set to x_(wk),Y_(wk) and the chromaticity values of the monitor white are set to x_(wm) _(,y) _(wm), the chromaticity values x_(w),y_(w) of the perception reference white signals are obtained by the following equations (14). As shown in FIG. 8, it shows that the perception reference white serving as a reference when seeing the color is located between the white of the monitor and the white of the observation light source.

Since the adaptation ratios to white of the monitor and to white of the observation light source differ every observation light source at the time of the observation of the image, the adaptation ratios s and 1-s are changed by the observation light source. In association with it, the reference white point also changes every light source.

(Equation 14) Chromaticity values of perception reference white

x _(w)=(1−s)·x _(wk) +s·x _(wm)

y _(w)=(1−s)·y _(wk) +s·y _(wm)

The luminance of perception reference white of the monitor can be presumed on the basis of the experimental result shown in FIG. 7. Even when using the following equations (15) of Haubner, P., now assuming that an axis of abscissa shows a luminance of the ambient field of view and an axis of ordinate shows a luminance of the examination field of view, it has been confirmed that the luminance of the perception reference white of the monitor fairly accurately coincides with the experimental result shown in FIG. 7.

As shown in FIG. 12, the equations of Haubner, P. are equations such that when there is an examination field of view of a different brightness exists in an ambient field of view having a certain brightness, the brightness of the examination field of view which the human being perceives and the actual brightness are made correspond and are ones of equations showing the luminance contrast sensitivities. Now, the above relation is expanded to the perception relation of the brightnesses between the material color and the light source color and is used as a relational equation when calculating a luminance of the perception reference white of the light source color.

Particularly, in the embodiment, by setting the luminance of the ambient field of view to the luminance of the observation light source and by setting the luminance of the examination field of view to the perception reference white, the luminance value of the perception reference white can be obtained by using the following equations (15) from the luminance value of the observation light source. Therefore, now assuming that the luminance value of the observation light source is set to an axis of abscissa and that the luminance value of the perception reference white is set to an axis of ordinate, it can be said that the relation between the luminance value of the observation light source and the luminance value of perception reference white is the relation which satisfies a curve that monotonously increases and is convex upward in a manner similar to FIG. 7.

(Equation 15) Luminance value of perception reference white.

H=C _(t)(φ)L _(t) ^(n) −H ₀(L _(u),φ)

H ₀(L _(u),φ)=C _(t)(φ)[S ₀(φ)+S ₁(φ)L _(u) _(n)]

where,

H: brightness sense for the stimulus L_(t)

L_(t:) luminance of the examination field of view of an apparent size (angle of view) φ expressed by a minute

L_(u:) luminance of the ambient field of view having an angle of view 180° around the examination field of view

C_(t)(φ), S₀(φ), S₁(φ): functions

n: constant

The chromaticity values (x_(w), y_(w)) of perception reference white obtained by the chromaticity calculation process 801 and the chromaticity value Y_(w) of perception reference white obtained by the luminance calculation process 802 are converted into XYZ by an xyY→XYZ conversion process 803 and are outputted to the adaptation conversion process as perception reference white information (X_(w)Y_(w)Z_(w)).

The data X₂Y₂Z₂ obtained by performing the light source conversion on the basis of the perception reference white information (X_(w)Y_(w)Z_(w)) calculated by the equations (14) and (15) and the observation light source information (X_(wk)Y_(wk)Z_(wk)) obtained from the sensor or the like by using the equations (13), thereby finally obtaining data X₃Y₃Z₃ which was converted also in consideration of the color mode and which is displayed to the monitor.

Specifically speaking, the observation light source information (X_(wk)Y_(wk)Z_(wk)) are substituted as three stimulus values of the examination light into the equations (13) and the perception reference white information (X_(w)Y_(w)Z_(w)) of the monitor calculated by the equations (14) and (15) are substituted as three stimulus values of the reference light into the equations (13), so that the data in which the differences of not only the observation light source but also the color mode were corrected is obtained.

Eventually, the luminance value of the observation light source serving as a perception reference of both of them and the luminance value of perception reference white satisfy the relation as shown in FIG. 7. All of the colors in the image are converted by using the ratio of the reference data by the equations (13). Therefore, when the input data (X₁Y₁Z₁) of the material color of a certain color and the output data (X₃Y₃z₃) of the light source color after completion of the conversion are compared, not only the luminance (Y_(wk)) of the observation light source and the luminance (Y_(w)) of perception reference white but also the luminances (Y₂, Y₃) of the material color and the light source color satisfy the relation as shown in FIG. 7.

Since the output data X₃Y₃Z₃ obtained by correcting the differences of the observation light source and the color mode is converted into the monitor output signals, it is converted into R₂G₂B₂ by an XYZ→RGB conversion process 702 on the basis of the monitor profile in which the monitor color characteristic has been stored.

When the image which was monitor outputted on the basis of the converted color signals and the original read by the scanner are compared, even when the color modes such as light source color and material color are different, an image which the human being can feel those colors as if they were color matched can be formed.

In the embodiment, the luminance value and chromaticity value of perception reference white are calculated by different processes in accordance with influences which are exerted on them from the observation light source, respectively. Therefore, perception reference white can be calculated at a high precision. The color adaptation conversion process between the light source color and the material color can be preferably executed.

Since the color adaptation conversion process is executed to the image data which doesn't depend on the input/output devices, the color matching process (RGB→XYZ conversion process, XYZ→RGB conversion process) according to the scanner profile and the monitor profile and the color adaptation conversion process can be preferably matched.

[Modification of the embodiment 3]

Different from the embodiment 3, even when the observation light source of the printed matter and the observation light source of the monitor are different light sources, the luminance of perception reference white can be calculated by the equations (15) and this is equivalent to that such a luminance satisfies the same relation as that in FIG. 7. In such a case, when monitor perception reference white using the equations (14) and (15) is calculated, the monitor observation light source information is substituted and, when the image conversion using the equations (13) is performed, the observation light source information of the printed matter is substituted, so that an effect similar to that of the embodiment 3 can be obtained.

Although the relation of the luminance contrast sensitivity of Haubner, P. has been used as a relation of the luminances between the light source color and the material color, the invention can be also applied to other equations showing the luminance contrast sensitivity or the other equations so long as such an equation satisfies the relation which is shown by a curve that monotonously increases and is convex upward on the coordinates plane in which the luminance of the material color is shown by an axis of abscissa and the luminance of the light source color is shown by an axis of ordinate.

[Other embodiments]

The present invention can be also applied to a system constructed by a plurality of equipment (for example, a host computer, an interface equipment, a reader, a printer, etc.) or can be also applied to an apparatus comprising one equipment (for example, a copying apparatus or a facsimile apparatus).

The invention embodied by supplying program codes of a software to realize the functions of the foregoing embodiments to a computer in an apparatus or system connected to various devices so as to make the various devices operative in order to realize the functions of the foregoing embodiments and by making those various devices operative in accordance with the programs stored in the computer (CPU or MPU) of the system or apparatus is also incorporated in the scope of the present invention.

In such a case, the program codes themselves of the software realize the functions of the foregoing embodiments. The program codes themselves and means for supplying the program codes to the computer, for example, a memory medium in which the program codes have been stored constructs the invention.

As a memory medium to store the program codes, for example, a floppy disk, a hard disk, an optical disk, a magnetooptic disk, a CD-ROM, a magnetic tape, a non-volatile memory card, an ROM, or the like can be used.

It will be obviously understood that not only in a case where the functions of the foregoing embodiments are realized by executing the supplied program codes by the computer but also in a case where the functions of the foregoing embodiments are realized by operating the program codes in cooperation with the OS (operating system) by which the program codes operate in the computer or with another application software or the like, those program codes are also included in the embodiments of the invention.

Further, it will be also obviously understood that a case where after the supplied program codes were stored into a memory provided for a function expansion board of the computer or a function expansion unit connected to the computer, a CPU provided for the function expansion board or function expansion unit executes a part or all of the actual processes on the basis of instructions of the program codes and the functions of the foregoing embodiments are realized by such processes is also included in the invention.

It is also possible to construct in a manner such that a plurality of tables for executing image conversion processes according to certain observation light source information, a scanner profile, and a monitor profile are prepared, an arbitrary table is selected, and the image conversion processes are executed by using the selected table.

Although the present invention has been described above with respect to the preferred embodiments and modifications, the invention is not limited to the foregoing embodiments but many modifications and variations are possible within the spirit and scope of the appended claims of the invention. 

What is claimed is:
 1. An image processing apparatus for performing an image process so as to visually match a material color with a light source color, comprising: input means for inputting image data regarding the light source color; and converting means for converting the image data regarding said light source color into image data regarding said material color, wherein said converting means executes a conversion process so as to satisfy a relation shown by a curve which monotonously increases and is convex upward on a coordinates plane in which a luminance of the material color is set to an axis of abscissa and a luminance of the light source color is set to an axis of ordinate.
 2. An apparatus according to claim 1, wherein the following equations of Haubner, P are used in said conversion process of converting the luminance: H=C _(t)(φ)L _(t) ^(n) −H ₀(L _(u), φ) H ₀(L _(u), φ)=C _(t)(φ)[S ₀(φ)+S ₁(φ)L _(u) ^(n)] where, H is sense of brightness of a stimulus L_(t); L_(t) is luminance of an examination field of view of an apparent size, angle of view, φ, expressed by a minute; L_(u) is luminance of an ambient field of view having an angle of view of 180° around the examination field of view; C_(t)(φ), S₀(φ), S₁(φ) are functions, and n is a constant.
 3. An image processing method of performing an image process so as to visually match a material color with a light source color, comprising: an input step of inputting image data regarding the light source color; and a converting step of converting the image data regarding said light source color into image data regarding the material color, wherein in said converting step, a conversion process is executed so as to satisfy a relation shown by a curve which monotonously increases and is convex upward on a coordinates plane in which a luminance of the material color is set to an axis of abscissa and a luminance of the light source color is set to an axis of ordinate.
 4. A recording medium which stores a program to realize an image processing method of performing an image process so as to visually match a material color with a light source color, comprising: an input step of inputting image data regarding the light source color; and a converting step of converting the image data regarding said light source color into image data regarding the material color, wherein in said converting step, a conversion process is executed so as to satisfy a relation shown by a curve which monotonously increases and is convex upward on a coordinates plane in which a luminance of the material color is set to an axis of abscissa and a luminance of the light source color is set to an axis of ordinate. 